<% include header.ejs %>
<div class="stuclassmsg" ng-controller="stuclassmsgController">
    <div class="classmsgcontain">
            <div class="table">
                    <div class="caption">班级信息</div>
                    <table>
                        <tr>
                            <td class="odd">班级名称</td>
                            <td class="even">
                                <input type="text" ng-init="className='<%=classmsg.className%>'" ng-model="className"  ng-disabled="true">
                            </td>
                            <td class="odd">人数</td>
                            <td class="even">
                                <input type="text" ng-init="personCount=<%=personcount%>" ng-model="personCount" ng-disabled="true">
                            </td>
                            <td class="odd">班主任</td>
                            <td class="even">
                                <input type="text" ng-init="chargeTeacher='<%=classmsg.chargeTeacher%>'" ng-model="chargeTeacher" ng-disabled="true">
                            </td>
                        </tr>
                        <tr>
                            <td>授课老师</td>
                            <td>
                                <input type="text" ng-init="teachTeacher='<%=classmsg.teachTeacher%>'" ng-model="teachTeacher" ng-disabled="true">
                            </td>
                            <td>就业老师</td>
                            <td>
                                <input type="text" ng-init="jobTeacher='<%=classmsg.jobTeacher%>'" ng-model="jobTeacher" ng-disabled="true">
                            </td>
                            <td>助教</td>
                            <td>
                                <input type="text" ng-init="assistant='<%=classmsg.assistant%>'" ng-model="assistant" ng-disabled="true">
                            </td>
                        </tr>
                        <tr>
                            <td>班级状态</td>
                            <td>
                                <input type="text" ng-init="classStatus='<%=classmsg.classStatus%>'" ng-model="classStatus" ng-disabled="true">
                            </td>
                            <td>教室地址</td>
                            <td>
                                <input type="text" ng-init="classAddress='<%=classmsg.classAddress%>'" ng-model="classAddress" ng-disabled="true">
                            </td>
                            <td>课程名称</td>
                            <td>
                                <input type="text" ng-init="courseName='<%=classmsg.courseName%>'" ng-model="courseName" ng-disabled="true">
                            </td>
                        </tr>
                        <tr>
                            <td>开课日期</td>
                            <td>
                                <input type="text" ng-init="startDate='<%=classmsg.startDate%>'" ng-model="startDate" ng-disabled="true">
                            </td>
                            <td>正课日期</td>
                            <td>
                                <input type="text" ng-init="officialDate='<%=classmsg.officialDate%>'" ng-model="officialDate" ng-disabled="true">
                            </td>
                            <td>结束日期</td>
                            <td>
                                <input type="text" ng-init="endDate='<%=classmsg.endDate%>'" ng-model="endDate" ng-disabled="true">
                            </td>
                        </tr>
                    </table>
                </div>
                <div class="studentlist">
                        <div class="table">
                            <div class="caption">学员信息</div>
                            <table>
                                <tr>
                                    <th>班级学员</th>
                                    <th>学员状态</th>
                                    <th>入班时间</th>
                                    <th>离班时间</th>
                                </tr>
                                <tr ng-repeat="currentstudent in <%=studentmsg%>">
                                    <td>{{currentstudent.name}}</a></td>
                                    <td>{{currentstudent.studyStatus}}</td>
                                    <td>{{currentstudent.joinDate}}</td>
                                    <td>{{currentstudent.gradDate}}</td>
                                </tr>
                            </table>
                        </div>
                    </div>
    </div>
</div>